package info.motteke.mybws.poi;

public class IterationStatus {

    private final int length;

    private int index = 0;

    public IterationStatus(int length) {
        this.length = length;
    }

    public int getLength() {
        return length;
    }

    public int getIndex() {
        return index;
    }

    public int getRowNo() {
        return index + 1;
    }

    public void next() {
        index++;
    }
}
